package edu.chalmers.targine;

import org.cocos2d.nodes.CCNode;
import org.cocos2d.types.CGPoint;
import org.cocos2d.types.CGRect;

public interface CocosComponent{

	public void update(float dt, ARManager arManager);

	public boolean isIntersecting(CGRect fingerRect);

	public void touchBegan(int touchID, CGPoint touchPoint);

	public void updateTouch(int touchID, CGPoint touchPoint);

	public boolean hasTouchID(int touchID);

	public void touchEnded(int touchID, ARManager arManager);

	public CCNode getNode();
	
	public void setVisible(boolean visible);
	
	public boolean isVisible();
}
